//
/******************************************************
        File name:    main.c
        Author:       Bitat (陆叁柒)
        Gitee :       https://gitee.com/bitat
        Email :       737166381@qq.com
        History:      2023/1/9
*******************************************************/


#include <stdio.h>

int main()
{
    int i = 0;
    int count = 0;
    for(i = 9; i < 100; i++)
    {
        if(i % 10 == 9)
        {
            count++;
        }
        if(i / 10 == 9)
        {
            count++;
        }
    }
    printf("%d\n",count-1);
    
    return 0;
}
